package chapter09.exercise.interfaces.nesting;

import chapter09.exercise.interfaces.nesting.A.Dimp2;

public class NestingInterfaces {

    public class Bimp implements A.B {
        public void f() {
        }
    }

    class Cimp implements A.C {
        public void f() {
        }
    }


    public static void main(String[] args) {
        A a = new A();
        A.Dimp2 ad = (Dimp2) a.getD();
        ad.f();

    }
}
